<?php $this->load->view('header', array('data' => $data));?>
<div id="center">
	<div id="left_box">
		<div class="module"><div class="text">用户管理</div></div>
		<div class="sub_module">
		<ul class="sub_module">
		<?php foreach ($data['module'][$data['current']['module']]['sub_module'] as $v) { ?>
			<li <?php if ($v['ename'] == $data['current']['sub_module']) echo "class='current'"; ?> ><a href="<?php echo "/{$data['current']['module']}/{$v['ename']}";?>"><?php echo $v['cname'];?></a></li>
		<?php }?>
		</ul>
		</div>
		<div class="desc_box1 desc_box">
			<div class="title"></div>
			<div class="content"></div>
		</div>
		<div class="desc_box2 desc_box">
			<div class="title"></div>
			<div class="content"></div>
		</div>
	</div>
	<div id="right_box">
			<fieldset id="create_border">
				<legend>新增用户</legend>
			<form method="post" action="create_do" id="create_user_form">
			<table>
				<tr>
					<td class="col1">用户名</td>
					<td class="col2"><input type="text" id="username" name="username" value="" size="30" /></td>
					<td class="col3"><div id="username_msg"></div></td>
				</tr>
				<tr>
					<td class="col1">密码</td>
					<td class="col2"><input type="password" id="password" name="password" value="" size="30" /></td>
					<td class="col3"><div id="password_msg"></div></td>
				</tr>
				<tr>
					<td class="col1">重复密码</td>
					<td class="col2"><input type="password" id="repassword" name="repassword" value="" size="30" /></td>
					<td class="col3"><div id="repassword_msg"></div></td>
				</tr>
				<tr>
					<td class="col1">用户类型</td>
					<td class="col2">
						<input type="radio" name="atype" value="1" checked="checked" size="30" >个人用户
						<input type="radio" name="atype" value="2">用户组
					</td>
				</tr>
				<tr>
					<td class="col1">手机</td>
					<td class="col2"><input type="text" id="mobile" name="mobile" value="" size="30" /></td>
					<td class="col3"><div id="mobile_msg"></div></td>
				</tr>
				<tr>
					<td class="col1">Email</td>
					<td class="col2"><input type="text" id="email" name="email" value="" size="30" /></td>
					<td class="col3"><div id="email_msg"></div></td>
				</tr>
				<tr>
					<td class="col1">备注</td>
					<td class="col2"><textarea name="remark" id="remark" cols="30" rows="5"></textarea></td>
					<td class="col3"><div id="remark_msg"></div></td>
				</tr>
				<tr>
					<td class="col1"><input type="submit" value="新增" /><input type="reset" value="清空" /></td>
					<td class="col2" colspan="2"></td>
				</tr>
			</table>
		</form>
			</fieldset>
	</div>
</div>
<?php $this->load->view('footer') ?>
